'use strict';
const db = uniCloud.database()

exports.main = async (event, context) => {

	let result = await db.collection('GoodInfo').where({
		_id:event.id
	}).remove()
	return {
		code: 200,
		msg: '数据请求成功',
		data: result.data
	}
};
